package cn.edu.scau.cmi.linzhanyi.abstractFactory;

import cn.edu.scau.cmi.linzhanyi.abstractFactory.domain.PingAnBodyInsurance;
import cn.edu.scau.cmi.linzhanyi.abstractFactory.domain.PingAnCarInsurance;
import cn.edu.scau.cmi.linzhanyi.abstractFactory.domain.PingAnMultipleAccidents;
import cn.edu.scau.cmi.linzhanyi.abstractFactory.domain.PingAnPeopleInsurance;
import cn.edu.scau.cmi.linzhanyi.abstractFactory.domainAbstractClass.Insurance;

public class PingAnFactory extends AbstractFactory {

	@Override
	public Insurance createBodyInsurance() {
		// TODO Auto-generated method stub
		return new PingAnBodyInsurance();
	}

	@Override
	public Insurance createCarInsurance() {
		// TODO Auto-generated method stub
		return new PingAnCarInsurance();
	}

	@Override
	public Insurance createPeopleInsurance() {
		// TODO Auto-generated method stub
		return new PingAnPeopleInsurance();
	}

	@Override
	public Insurance createMultipleAccidents() {
		// TODO Auto-generated method stub
		return new PingAnMultipleAccidents();
	}
   
}
